package com.neusoft.neuiotms.common.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.common.dto.SerialNumberDTO;

public interface SerialNumberService {

    String generateSerialNumberByModelCode(String moduleCode);

    SerialNumberDTO details(Long id);

    SerialNumberDTO update(Long id, SerialNumberDTO dto);

    SerialNumberDTO create(SerialNumberDTO dto);

    void delete(Long id);

    List<SerialNumberDTO> findAll();

    Page<SerialNumberDTO> search(Pageable pageable, Searchable searchable);

}
